#include <stdio.h> 
#include <stdlib.h>
#include <time.h>

int main(int argv,char **argc)
{
	int i;
	int N;
	FILE* out = fopen("in.txt","w");
	sscanf(argc[1],"%d",&N);
	fprintf(out,"%d\n",N);
	for(i = 0;i < N;i++)
		fprintf(out,"%d ",rand());
	fclose(out);
	return 0;
} 
